package com.aaa.charge.feign;

import com.aaa.entity.DictData;
import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author pzs
 * @date 2023/3/28 14:06
 * @description DateFegin
 */
@FeignClient(value = "his-open-system")
public interface DateFegin {
     @GetMapping("/system/api/dict/data/findByType/{type}")
     Result<List<DictData>> list(@PathVariable String type);
}
